message("============Begin Build Shader===========>>>>==${shader_build_path}")

#set(shader_code_template "constexpr auto code{R"(repace)"}")
file(GLOB shader_files "*.hlsl")

foreach(item ${shader_files})
	file(STRINGS ${item} input_code NEWLINE_CONSUME)
	message(${input_code})
	get_filename_component(base_file_name ${item} NAME)
	string(REPLACE "\\" "" raw_data ${input_code})
	#file(WRITE "${shader_build_path}/${base_file_name}.inl" ${raw_data})
	configure_file("shader_code_template.h" "${shader_build_path}/${base_file_name}.inl")
endforeach()

message("============End Build Shader=========${shader_code_template}======")